package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Auther 李少君
 * @Date 2021-07-31 14:13
 */
@Data
//数据表名
@TableName("user_priv")
public class VeXoaUserPriv implements Serializable {

    /**主键id*/
    @ApiModelProperty(value = "主键id")
    @TableField(value = "USER_PRIV")
    private Long userPriv;

    //角色名称
    @ApiModelProperty(value = "角色名称")
    @TableField(value = "PRIV_Name")
    private String privName;

    /**角色编码*/
    @ApiModelProperty(value = "角色编码")
    @TableField(value = "PRIV_NO")
    private Integer privNo;

    //角色对应的功能id串
    @ApiModelProperty(value = "角色对应的功能id串")
    @TableField(value = "FUNC_ID_STR")
    private String funcIdStr;

    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    @TableField(value = "PRIV_DEPT_ID")
    private Long privDeptId;

    /**角色类型*/
    @ApiModelProperty(value = "角色类型")
    @TableField(value = "PRIV_TYPE")
    private Integer privType;

    /**全局角色*/
    @ApiModelProperty(value = "全局角色")
    @TableField(value = "IS_GLOBAL")
    private Integer isGlobal;

    //接口中的id
    private Long id;
    //接口中的text
    private String text;


}
